<div  class="panel">
	<div style="background:white" class="panel-title"><i class="icon-hdd"></i> <?=$itemnowname?> <a onclick="ind.clickmenu(0,-1)" href="javascript:;" style="float:right">更多&gt;&gt;</a></div>
	<div id="abverew{rand}"></div>
 </div>
 
<script>

homeobject.fenqu_init = function(){
	this.fenqua_obj = $('#abverew{rand}').bootstable({
		url:'',method:'get',
		columns:[{
			text:'名称',dataIndex:'name',align:'left'
		},{
			text:'文件数',dataIndex:'fileshu'
		},{
			text:'空间大小',dataIndex:'size',renderer:function(v,d){
				var str='无限制';
				if(d.size>0)str=js.formatsize(d.size);
				return str;
			}
		},{
			text:'已使用',dataIndex:'sizeu',align:'left',renderer:function(v,d){
				var str='&nbsp;';
				if(v>0)str=js.formatsize(v);
				if(d.size>0){
					var dx=js.float(100*v/(d.size));
					if(dx>100)dx=100;
					str+='('+dx+'%)';
				}
				return str;
			}
		}],
		autoLoad:false
	});
}


homeobject.fenqu_showdata=function(da){
	this.fenqua_obj.loadData({
		success:true,
		rows:da
	});
}
</script>
